<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: ADC_Clock_Selection</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a>  </div>
  <div class="headertitle">
<div class="title">ADC_Clock_Selection<div class="ingroups"><a class="el" href="group___w_b32_l003___std_periph___driver.html">WB32L003_StdPeriph_Driver</a> &raquo; <a class="el" href="group___a_d_c.html">ADC</a> &raquo; <a class="el" href="group___a_d_c___exported___constants.html">ADC_Exported_Constants</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:ga66c77cba68200a6ef40ebb2ed30294be"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___clock___selection.html#ga66c77cba68200a6ef40ebb2ed30294be">ADC_CLOCK_PCLK_DIV1</a>&#160;&#160;&#160;(0x00000000U)</td></tr>
<tr class="separator:ga66c77cba68200a6ef40ebb2ed30294be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7d0a515f31a832c25f2e4b7019fb4ebc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___clock___selection.html#ga7d0a515f31a832c25f2e4b7019fb4ebc">ADC_CLOCK_PCLK_DIV2</a>&#160;&#160;&#160;(ADC_CR0_CLKSEL_0)</td></tr>
<tr class="separator:ga7d0a515f31a832c25f2e4b7019fb4ebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9bff911ccbe72889d314e9de114bb691"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___clock___selection.html#ga9bff911ccbe72889d314e9de114bb691">ADC_CLOCK_PCLK_DIV4</a>&#160;&#160;&#160;(ADC_CR0_CLKSEL_1)</td></tr>
<tr class="separator:ga9bff911ccbe72889d314e9de114bb691"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga787010e7a2ba884d56dc12084909418d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___clock___selection.html#ga787010e7a2ba884d56dc12084909418d">ADC_CLOCK_PCLK_DIV8</a>&#160;&#160;&#160;(ADC_CR0_CLKSEL_1 | ADC_CR0_CLKSEL_0)</td></tr>
<tr class="separator:ga787010e7a2ba884d56dc12084909418d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga213b307894f2f5960048037c686f8013"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___clock___selection.html#ga213b307894f2f5960048037c686f8013">ADC_CLOCK_PCLK_DIV16</a>&#160;&#160;&#160;(ADC_CR0_CLKSEL_2)</td></tr>
<tr class="separator:ga213b307894f2f5960048037c686f8013"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3148889cdf7203efef3866f38ea3e8a6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___clock___selection.html#ga3148889cdf7203efef3866f38ea3e8a6">ADC_CLOCK_PCLK_DIV32</a>&#160;&#160;&#160;(ADC_CR0_CLKSEL_2 | ADC_CR0_CLKSEL_0)</td></tr>
<tr class="separator:ga3148889cdf7203efef3866f38ea3e8a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1b0fc7e6b7de0cf455ca458b5640045e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___clock___selection.html#ga1b0fc7e6b7de0cf455ca458b5640045e">ADC_CLOCK_PCLK_DIV64</a>&#160;&#160;&#160;(ADC_CR0_CLKSEL_2 | ADC_CR0_CLKSEL_1)</td></tr>
<tr class="separator:ga1b0fc7e6b7de0cf455ca458b5640045e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga171f3ea9de20e8f2223e5544034ae730"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___clock___selection.html#ga171f3ea9de20e8f2223e5544034ae730">ADC_CLOCK_PCLK_DIV128</a>&#160;&#160;&#160;(ADC_CR0_CLKSEL_2 | ADC_CR0_CLKSEL_1 | ADC_CR0_CLKSEL_0)</td></tr>
<tr class="separator:ga171f3ea9de20e8f2223e5544034ae730"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gade78bd048663ba6f31a97765e14b0b10"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_ADC_CLOCK_PCLK_DIV</b>(CLOCK)</td></tr>
<tr class="separator:gade78bd048663ba6f31a97765e14b0b10"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<h2 class="groupheader">宏定义说明</h2>
<a id="ga66c77cba68200a6ef40ebb2ed30294be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga66c77cba68200a6ef40ebb2ed30294be">&#9670;&nbsp;</a></span>ADC_CLOCK_PCLK_DIV1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADC_CLOCK_PCLK_DIV1&#160;&#160;&#160;(0x00000000U)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Select ADC clock PCLK </p>

</div>
</div>
<a id="ga171f3ea9de20e8f2223e5544034ae730"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga171f3ea9de20e8f2223e5544034ae730">&#9670;&nbsp;</a></span>ADC_CLOCK_PCLK_DIV128</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADC_CLOCK_PCLK_DIV128&#160;&#160;&#160;(ADC_CR0_CLKSEL_2 | ADC_CR0_CLKSEL_1 | ADC_CR0_CLKSEL_0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Select ADC clock PCLK/128 </p>

</div>
</div>
<a id="ga213b307894f2f5960048037c686f8013"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga213b307894f2f5960048037c686f8013">&#9670;&nbsp;</a></span>ADC_CLOCK_PCLK_DIV16</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADC_CLOCK_PCLK_DIV16&#160;&#160;&#160;(ADC_CR0_CLKSEL_2)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Select ADC clock PCLK/16 </p>

</div>
</div>
<a id="ga7d0a515f31a832c25f2e4b7019fb4ebc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7d0a515f31a832c25f2e4b7019fb4ebc">&#9670;&nbsp;</a></span>ADC_CLOCK_PCLK_DIV2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADC_CLOCK_PCLK_DIV2&#160;&#160;&#160;(ADC_CR0_CLKSEL_0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Select ADC clock PCLK/2 </p>

</div>
</div>
<a id="ga3148889cdf7203efef3866f38ea3e8a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3148889cdf7203efef3866f38ea3e8a6">&#9670;&nbsp;</a></span>ADC_CLOCK_PCLK_DIV32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADC_CLOCK_PCLK_DIV32&#160;&#160;&#160;(ADC_CR0_CLKSEL_2 | ADC_CR0_CLKSEL_0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Select ADC clock PCLK/32 </p>

</div>
</div>
<a id="ga9bff911ccbe72889d314e9de114bb691"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9bff911ccbe72889d314e9de114bb691">&#9670;&nbsp;</a></span>ADC_CLOCK_PCLK_DIV4</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADC_CLOCK_PCLK_DIV4&#160;&#160;&#160;(ADC_CR0_CLKSEL_1)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Select ADC clock PCLK/4 </p>

</div>
</div>
<a id="ga1b0fc7e6b7de0cf455ca458b5640045e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1b0fc7e6b7de0cf455ca458b5640045e">&#9670;&nbsp;</a></span>ADC_CLOCK_PCLK_DIV64</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADC_CLOCK_PCLK_DIV64&#160;&#160;&#160;(ADC_CR0_CLKSEL_2 | ADC_CR0_CLKSEL_1)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Select ADC clock PCLK/64 </p>

</div>
</div>
<a id="ga787010e7a2ba884d56dc12084909418d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga787010e7a2ba884d56dc12084909418d">&#9670;&nbsp;</a></span>ADC_CLOCK_PCLK_DIV8</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ADC_CLOCK_PCLK_DIV8&#160;&#160;&#160;(ADC_CR0_CLKSEL_1 | ADC_CR0_CLKSEL_0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Select ADC clock PCLK/8 </p>

</div>
</div>
<a id="gade78bd048663ba6f31a97765e14b0b10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gade78bd048663ba6f31a97765e14b0b10">&#9670;&nbsp;</a></span>IS_ADC_CLOCK_PCLK_DIV</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_ADC_CLOCK_PCLK_DIV</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">CLOCK</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">((CLOCK == <a class="code" href="group___a_d_c___clock___selection.html#ga66c77cba68200a6ef40ebb2ed30294be">ADC_CLOCK_PCLK_DIV1</a>) || (CLOCK == <a class="code" href="group___a_d_c___clock___selection.html#ga7d0a515f31a832c25f2e4b7019fb4ebc">ADC_CLOCK_PCLK_DIV2</a>) ||   \</div><div class="line">                                         (CLOCK == <a class="code" href="group___a_d_c___clock___selection.html#ga9bff911ccbe72889d314e9de114bb691">ADC_CLOCK_PCLK_DIV4</a>) || (CLOCK == <a class="code" href="group___a_d_c___clock___selection.html#ga787010e7a2ba884d56dc12084909418d">ADC_CLOCK_PCLK_DIV8</a>) ||   \</div><div class="line">                                         (CLOCK == <a class="code" href="group___a_d_c___clock___selection.html#ga213b307894f2f5960048037c686f8013">ADC_CLOCK_PCLK_DIV16</a>) || (CLOCK == <a class="code" href="group___a_d_c___clock___selection.html#ga3148889cdf7203efef3866f38ea3e8a6">ADC_CLOCK_PCLK_DIV32</a>) || \</div><div class="line">                                         (CLOCK == <a class="code" href="group___a_d_c___clock___selection.html#ga1b0fc7e6b7de0cf455ca458b5640045e">ADC_CLOCK_PCLK_DIV64</a>) || (CLOCK == <a class="code" href="group___a_d_c___clock___selection.html#ga171f3ea9de20e8f2223e5544034ae730">ADC_CLOCK_PCLK_DIV128</a>))</div><div class="ttc" id="group___a_d_c___clock___selection_html_ga3148889cdf7203efef3866f38ea3e8a6"><div class="ttname"><a href="group___a_d_c___clock___selection.html#ga3148889cdf7203efef3866f38ea3e8a6">ADC_CLOCK_PCLK_DIV32</a></div><div class="ttdeci">#define ADC_CLOCK_PCLK_DIV32</div><div class="ttdef"><b>Definition:</b> wb32l003_adc.h:137</div></div>
<div class="ttc" id="group___a_d_c___clock___selection_html_ga66c77cba68200a6ef40ebb2ed30294be"><div class="ttname"><a href="group___a_d_c___clock___selection.html#ga66c77cba68200a6ef40ebb2ed30294be">ADC_CLOCK_PCLK_DIV1</a></div><div class="ttdeci">#define ADC_CLOCK_PCLK_DIV1</div><div class="ttdef"><b>Definition:</b> wb32l003_adc.h:132</div></div>
<div class="ttc" id="group___a_d_c___clock___selection_html_ga9bff911ccbe72889d314e9de114bb691"><div class="ttname"><a href="group___a_d_c___clock___selection.html#ga9bff911ccbe72889d314e9de114bb691">ADC_CLOCK_PCLK_DIV4</a></div><div class="ttdeci">#define ADC_CLOCK_PCLK_DIV4</div><div class="ttdef"><b>Definition:</b> wb32l003_adc.h:134</div></div>
<div class="ttc" id="group___a_d_c___clock___selection_html_ga1b0fc7e6b7de0cf455ca458b5640045e"><div class="ttname"><a href="group___a_d_c___clock___selection.html#ga1b0fc7e6b7de0cf455ca458b5640045e">ADC_CLOCK_PCLK_DIV64</a></div><div class="ttdeci">#define ADC_CLOCK_PCLK_DIV64</div><div class="ttdef"><b>Definition:</b> wb32l003_adc.h:138</div></div>
<div class="ttc" id="group___a_d_c___clock___selection_html_ga213b307894f2f5960048037c686f8013"><div class="ttname"><a href="group___a_d_c___clock___selection.html#ga213b307894f2f5960048037c686f8013">ADC_CLOCK_PCLK_DIV16</a></div><div class="ttdeci">#define ADC_CLOCK_PCLK_DIV16</div><div class="ttdef"><b>Definition:</b> wb32l003_adc.h:136</div></div>
<div class="ttc" id="group___a_d_c___clock___selection_html_ga7d0a515f31a832c25f2e4b7019fb4ebc"><div class="ttname"><a href="group___a_d_c___clock___selection.html#ga7d0a515f31a832c25f2e4b7019fb4ebc">ADC_CLOCK_PCLK_DIV2</a></div><div class="ttdeci">#define ADC_CLOCK_PCLK_DIV2</div><div class="ttdef"><b>Definition:</b> wb32l003_adc.h:133</div></div>
<div class="ttc" id="group___a_d_c___clock___selection_html_ga787010e7a2ba884d56dc12084909418d"><div class="ttname"><a href="group___a_d_c___clock___selection.html#ga787010e7a2ba884d56dc12084909418d">ADC_CLOCK_PCLK_DIV8</a></div><div class="ttdeci">#define ADC_CLOCK_PCLK_DIV8</div><div class="ttdef"><b>Definition:</b> wb32l003_adc.h:135</div></div>
<div class="ttc" id="group___a_d_c___clock___selection_html_ga171f3ea9de20e8f2223e5544034ae730"><div class="ttname"><a href="group___a_d_c___clock___selection.html#ga171f3ea9de20e8f2223e5544034ae730">ADC_CLOCK_PCLK_DIV128</a></div><div class="ttdeci">#define ADC_CLOCK_PCLK_DIV128</div><div class="ttdef"><b>Definition:</b> wb32l003_adc.h:139</div></div>
</div><!-- fragment -->
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
